const execa = require('execa')

async function bundle(target){
   await execa('rollup',['-cw','--environment',`TARGET:${target}`],{stdio:'inherit'})
}
 // 分步打包
bundle('runtime-core')